package Framework.Fabricas;
import java.util.UUID;

public class FabricaUUID {
    
    private static FabricaUUID instancia;
    
    public static synchronized FabricaUUID getInstancia() {
        if (instancia == null) {
            FabricaUUID instancia = new FabricaUUID();
            return instancia;
        }
        else {
            return instancia;
        }
    }    

    public String getOID(){
        String oid = UUID.randomUUID().toString();
        return oid;
    }
    

}